/*
 * @Author: sunzhijun 
 * @Date: 2019-10-25 21:11:13 
 * @Last Modified by: sunzhijun
 * @Last Modified time: 2020-03-04 16:46:17
 */

import React from 'react';
import {render, connect} from 'src/hrpub/common/frame';
import './index.less';

const CardForm = render({
    
})(({props, state}) => {
    const { main, form, action } = props;
    const { createForm } = form;
    let { cardId } = main;
    return (
        createForm(cardId,{
            expandArr: ["dataAfter"],
            // 编辑前事件
            onBeforeEvent: action.cardAct.beforeEventFn,
            //编辑后事件
            onAfterEvent: action.cardAct.formAfterEventFn
        })
    );
});
export default CardForm;